<template>
	<div>
		<citySelect v-if="messageItem.messageAttr.eventType==='citySelect'" :messageItem="messageItem"
			@setGoToFormKV="setGoToFormKV" />
		<select2 v-if="messageItem.messageAttr.eventType==='goodsCategorySelect'" :messageItem="messageItem"
			@setGoToFormKV="setGoToFormKV" />
	</div>
</template>

<script>
	import citySelect from "./citySelect"
	import select2 from "./select2"
	export default {
		components: {
			citySelect,
			select2
		},
		props: ['messageItem'],
		data() {
			return {

			}
		},
		methods: {
			setGoToFormKV({
				key,
				value,
				text,
				messageItem
			}) {
				this.$emit("setGoToFormKV", {
					key,
					value,
					text,
					messageItem
				})
			}
		}
	}
</script>

<style>
</style>